using System;
namespace AppToolKit.Core.ObjectClone
{
	public class EnumClone : IDeepCopyVisitor
	{
		public object DeepCopy(object o)
		{
			return Enum.Parse(o.GetType(), o.ToString());
		}
		public bool IsSuppor(Type t)
		{
			return t.IsEnum;
		}
	}
}
